package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

/**
 * @Author: 蔺永斌
 * @Date: 2024/3/2
 * @Time: 14:05
 * @Description:
 */
public interface SubjectTypeHandler {
    /**
     * 枚举身份的识别
     */
    SubjectInfoTypeEnum getHandlerType();
    /**
     * 实际题目的插入
     */
    void add(SubjectInfoBO subjectInfoBO);

    /**
     * 实际题目的插入
     */
    SubjectOptionBO query(int subjectId);
}
